package com.zr.sparesubclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2018/12/29.
 */
@Data
public class SpareSubClassAddVo {
    @NotBlank(message = "备件小类编码不能为空")
    private String code;
    @NotBlank(message = "备件小类名称不能为空")
    private String name;
    @NotNull(message = "备件小类状态不能为空")
    private Boolean status;
    @NotBlank(message = "备件小类描述不能为空")
    private String remark;
}
